<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<% 
			String basepath = request.getContextPath();
		%>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link href="<%=basepath%>/css/account.css" rel="stylesheet" type="text/css" />
		<link href="<%=basepath%>/css/register.css" rel="stylesheet" type="text/css" />
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/include.js"></script>
		<script src="js/jquery-1.4.4.js" type="text/javascript"></script>
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/register.js"></script>
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/common.js"></script>
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/utilTool.js"></script>
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/validatorTool.js"></script>

<style type="text/css">
.mycolor {
	color: #FF0000;
}
</style>

<script type="text/javascript">
		//这里进行提交
function preStep() {
	//首先进行页面的JS验证
	document.forms[0].action = "<%=basepath %>/register/preStep?preStep=3&readOnly=readOnly";
	document.forms[0].submit();
}

function nextStep() {
	document.forms[0].action = "<%=basepath %>/register/nextStep?nextStep=5&readOnly=readOnly";
	document.forms[0].submit();
}

	
</script>
	</head>
	<body class="fullbody">
		<div id="content" class="content">
			<div class="">
				<b class="rtop"><b class="r1"></b><b class="r2"></b>
					<b class="r3"></b><b class="r4"> </b> </b>
				<table cellpadding="0" cellspacing="0" border="0" width="980">
					<tr>
						<td class="leftmargin"></td>
						<td valign="top" align="left">
							<form method="post">
								<div class="productlist">
									<div style="font-size:12"><b>供应商银行账号信息</b><font class="memoTh"> (此银行帐号供付款和收付投标保证金使用)</font></div>
									<div class="margin10"></div>
									<div class="spliter_line"></div>
									<div class="margin10"></div>
								</div>
								<div>
									<table cellpadding="0" cellspacing="0" id="bankInfo"
										class="subpage_table1 withborder2" align="center" width="800">
										<tr >
											<th class="w_04">序号</th>
											<th class="w_02">银行账号<span class="needfill">*</span></th>
											<th class="w_02">账户名称<span class="needfill">*</span></th>
											<th class="w_02">开户银行说明</th>
											<th class="w_02">银行类别<span class="needfill">*</span></th>
											<th class="w_02">币种</th>
										</tr>
										<c:if test="${currentInfo!=null && currentInfo.bankAccVos!=null}">
											<c:forEach items="${currentInfo.bankAccVos}" var="bank" varStatus="index">
												<tr align="center" class="datarow" id="row${bank.index}">
													<td><input type="text" class="list_text_2" name="index" value="${bank.index}" id="index" readOnly/></td>
													<td><input type="text" class="list_text_2" name="supaccount" value="${bank.supaccount}" readonly="readonly" /></td>
													<td><input type="text" class="list_text_2" name="accountname" value="${bank.accountname}" readonly="readonly" /></td>
													<td><input type="text" class="list_text_2" name="memo" value="${bank.memo}" readonly="readonly" /></td>
													<td>
														<input type="text" class="list_text_2" name="bankTypeName" value="${bank.bankTypeName}"readonly="readonly" />
													</td>
													<td>
														<input type="text" class="list_text_2" name="currencyName" value="${bank.currencyName}" 
															id="curtype${bank.index}name"  readOnly />
														<input type="hidden" name="bankTypeId" value="${bank.bankTypeId}" id="bankType${bank.index}" />
														<input type="hidden" name="pk_supbankacc" value="${bank.pk_supbankacc}" id="pk_supbankacc" />
														<input type="hidden" name="pkCurrency" value="${bank.pkCurrency}" id="pkCurrency" />
													</td>
												</tr>
											</c:forEach>
										</c:if>
									</table>
									<br/>
									<br/>
									<table border="0" cellpadding="0" cellspacing="0" 
										  align="center" width="800">
										<tr class="buttonrow" >
											<td align="right" colspan="4" align="center" >
												<input type="button" value="上一步" onclick="preStep();"
													class="btnscs" />
												&nbsp;&nbsp;
												<input type="button" value="下一步" onclick="nextStep();"
													class="btnscs" />
											</td>
										</tr>
									</table>
								</div>
							</form>
						</td>
					</tr>
				</table>
				<div id="message" class="mycolor">
					<c:out value="${ERROR_MESSAGE}"></c:out>
				</div>
				<b class="rbottom">
					<b class="r4"></b>
					<b class="r3"></b>
					<b class="r2"></b>
					<b class="r1"></b> 
				</b>
			</div>
		</div>
	</body>
</html>